<template>
  <input v-model="value" :placeholder="placeholder" :readonly="readonly">
</template>
<script>
export default {
  name: 'DataInput',
  props: {
    readonly: {
      type: Boolean,
      default: true
    },
    placeholder: {
      type: String,
      default: null
    }
  },
  data() {
    return {
      value: this.placeholder
    }
  }
}
</script>
<style scoped>

</style>
